package main

import (
	"fmt"
	"reflect"
)

type User struct {
	ID int
	Name string
	Age int
}

type Manager struct {
	User
	title string
}

func main()  {
	m:=Manager{User:User{1,"ok",12},title:"123"}
	t:=reflect.TypeOf(m) // 这个东东很关键 
	fmt.Printf("%#v\n",t.Field(1))
}